Skip to content

Conversation

@stevebio
Copy link
Collaborator

No description provided.

@stevebio stevebio requested a review from anu3990 as a code owner October 20, 2025 17:03
Copilot AI review requested due to automatic review settings October 20, 2025 17:03
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

Copyright Validation Results
Total: 2 | Passed: 2 | Failed: 0 | Skipped: 0 | at: 2025-10-20 17:18:48 UTC | commit: 1d50e90

✅ Valid Files

  • test-complete/nodejs-documents-binary-pdf.js
  • test-complete/nodejs-documents-read-chunk.js

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes two binary document test files by converting them from callback-based to async/await patterns and consolidating multiple test cases into single comprehensive tests.

Key Changes:

  • Converted callback-based async code to modern async/await syntax
  • Consolidated multiple separate test cases into single comprehensive test flows
  • Changed from removeAll() to targeted remove() for cleaner test isolation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
test-complete/nodejs-documents-read-chunk.js Modernized test to use async/await, consolidated write/read/verify/delete operations into a single test case
test-complete/nodejs-documents-binary-pdf.js Converted to async/await pattern, merged separate test cases for write/read/metadata/delete into one comprehensive test

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

rjrudin
rjrudin previously approved these changes Oct 20, 2025
Copy link
Contributor

@rjrudin rjrudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. VS Code interestingly flags "should", "valcheck", and "q" as unused imports. The last 2 are correct - but removing "should" causes the test to fail. Bummer.

@stevebio stevebio force-pushed the feature/MLE-24755-binary-doc-test-fixes branch from f4ea9f1 to 1d50e90 Compare October 20, 2025 17:18
@stevebio stevebio merged commit 76ba6f2 into marklogic:develop Oct 20, 2025
3 checks passed
@stevebio stevebio deleted the feature/MLE-24755-binary-doc-test-fixes branch October 22, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants